package com.money.mvp_dagger_simple.base;

import com.money.mvp_dagger_simple.application.AppComponent;
import com.money.mvp_dagger_simple.application.Mapplication;

/**
 * Created by Money on 2017/8/28.
 */

public abstract class BasePresenter {

    private AppComponent appComponent;

    public BasePresenter() {
        this.appComponent = Mapplication.getAppComponent();
        setAppComponent(appComponent);
    }

    public abstract void setAppComponent(AppComponent appComponent);
}
